package com.meiyou.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MeiyouTourExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MeiyouTourExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTIdIsNull() {
            addCriterion("t_id is null");
            return (Criteria) this;
        }

        public Criteria andTIdIsNotNull() {
            addCriterion("t_id is not null");
            return (Criteria) this;
        }

        public Criteria andTIdEqualTo(Integer value) {
            addCriterion("t_id =", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdNotEqualTo(Integer value) {
            addCriterion("t_id <>", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdGreaterThan(Integer value) {
            addCriterion("t_id >", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t_id >=", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdLessThan(Integer value) {
            addCriterion("t_id <", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdLessThanOrEqualTo(Integer value) {
            addCriterion("t_id <=", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdIn(List<Integer> values) {
            addCriterion("t_id in", values, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdNotIn(List<Integer> values) {
            addCriterion("t_id not in", values, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdBetween(Integer value1, Integer value2) {
            addCriterion("t_id between", value1, value2, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t_id not between", value1, value2, "tId");
            return (Criteria) this;
        }

        public Criteria andTUCountIsNull() {
            addCriterion("t_u_count is null");
            return (Criteria) this;
        }

        public Criteria andTUCountIsNotNull() {
            addCriterion("t_u_count is not null");
            return (Criteria) this;
        }

        public Criteria andTUCountEqualTo(String value) {
            addCriterion("t_u_count =", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountNotEqualTo(String value) {
            addCriterion("t_u_count <>", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountGreaterThan(String value) {
            addCriterion("t_u_count >", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountGreaterThanOrEqualTo(String value) {
            addCriterion("t_u_count >=", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountLessThan(String value) {
            addCriterion("t_u_count <", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountLessThanOrEqualTo(String value) {
            addCriterion("t_u_count <=", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountLike(String value) {
            addCriterion("t_u_count like", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountNotLike(String value) {
            addCriterion("t_u_count not like", value, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountIn(List<String> values) {
            addCriterion("t_u_count in", values, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountNotIn(List<String> values) {
            addCriterion("t_u_count not in", values, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountBetween(String value1, String value2) {
            addCriterion("t_u_count between", value1, value2, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTUCountNotBetween(String value1, String value2) {
            addCriterion("t_u_count not between", value1, value2, "tUCount");
            return (Criteria) this;
        }

        public Criteria andTFaddressIsNull() {
            addCriterion("t_faddress is null");
            return (Criteria) this;
        }

        public Criteria andTFaddressIsNotNull() {
            addCriterion("t_faddress is not null");
            return (Criteria) this;
        }

        public Criteria andTFaddressEqualTo(String value) {
            addCriterion("t_faddress =", value, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressNotEqualTo(String value) {
            addCriterion("t_faddress <>", value, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressGreaterThan(String value) {
            addCriterion("t_faddress >", value, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressGreaterThanOrEqualTo(String value) {
            addCriterion("t_faddress >=", value, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressLessThan(String value) {
            addCriterion("t_faddress <", value, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressLessThanOrEqualTo(String value) {
            addCriterion("t_faddress <=", value, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressLike(String value) {
            addCriterion("t_faddress like", value, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressNotLike(String value) {
            addCriterion("t_faddress not like", value, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressIn(List<String> values) {
            addCriterion("t_faddress in", values, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressNotIn(List<String> values) {
            addCriterion("t_faddress not in", values, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressBetween(String value1, String value2) {
            addCriterion("t_faddress between", value1, value2, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTFaddressNotBetween(String value1, String value2) {
            addCriterion("t_faddress not between", value1, value2, "tFaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressIsNull() {
            addCriterion("t_taddress is null");
            return (Criteria) this;
        }

        public Criteria andTTaddressIsNotNull() {
            addCriterion("t_taddress is not null");
            return (Criteria) this;
        }

        public Criteria andTTaddressEqualTo(String value) {
            addCriterion("t_taddress =", value, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressNotEqualTo(String value) {
            addCriterion("t_taddress <>", value, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressGreaterThan(String value) {
            addCriterion("t_taddress >", value, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressGreaterThanOrEqualTo(String value) {
            addCriterion("t_taddress >=", value, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressLessThan(String value) {
            addCriterion("t_taddress <", value, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressLessThanOrEqualTo(String value) {
            addCriterion("t_taddress <=", value, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressLike(String value) {
            addCriterion("t_taddress like", value, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressNotLike(String value) {
            addCriterion("t_taddress not like", value, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressIn(List<String> values) {
            addCriterion("t_taddress in", values, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressNotIn(List<String> values) {
            addCriterion("t_taddress not in", values, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressBetween(String value1, String value2) {
            addCriterion("t_taddress between", value1, value2, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTTaddressNotBetween(String value1, String value2) {
            addCriterion("t_taddress not between", value1, value2, "tTaddress");
            return (Criteria) this;
        }

        public Criteria andTSdateIsNull() {
            addCriterion("t_sdate is null");
            return (Criteria) this;
        }

        public Criteria andTSdateIsNotNull() {
            addCriterion("t_sdate is not null");
            return (Criteria) this;
        }

        public Criteria andTSdateEqualTo(String value) {
            addCriterion("t_sdate =", value, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateNotEqualTo(String value) {
            addCriterion("t_sdate <>", value, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateGreaterThan(String value) {
            addCriterion("t_sdate >", value, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateGreaterThanOrEqualTo(String value) {
            addCriterion("t_sdate >=", value, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateLessThan(String value) {
            addCriterion("t_sdate <", value, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateLessThanOrEqualTo(String value) {
            addCriterion("t_sdate <=", value, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateLike(String value) {
            addCriterion("t_sdate like", value, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateNotLike(String value) {
            addCriterion("t_sdate not like", value, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateIn(List<String> values) {
            addCriterion("t_sdate in", values, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateNotIn(List<String> values) {
            addCriterion("t_sdate not in", values, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateBetween(String value1, String value2) {
            addCriterion("t_sdate between", value1, value2, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTSdateNotBetween(String value1, String value2) {
            addCriterion("t_sdate not between", value1, value2, "tSdate");
            return (Criteria) this;
        }

        public Criteria andTEdateIsNull() {
            addCriterion("t_edate is null");
            return (Criteria) this;
        }

        public Criteria andTEdateIsNotNull() {
            addCriterion("t_edate is not null");
            return (Criteria) this;
        }

        public Criteria andTEdateEqualTo(String value) {
            addCriterion("t_edate =", value, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateNotEqualTo(String value) {
            addCriterion("t_edate <>", value, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateGreaterThan(String value) {
            addCriterion("t_edate >", value, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateGreaterThanOrEqualTo(String value) {
            addCriterion("t_edate >=", value, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateLessThan(String value) {
            addCriterion("t_edate <", value, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateLessThanOrEqualTo(String value) {
            addCriterion("t_edate <=", value, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateLike(String value) {
            addCriterion("t_edate like", value, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateNotLike(String value) {
            addCriterion("t_edate not like", value, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateIn(List<String> values) {
            addCriterion("t_edate in", values, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateNotIn(List<String> values) {
            addCriterion("t_edate not in", values, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateBetween(String value1, String value2) {
            addCriterion("t_edate between", value1, value2, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTEdateNotBetween(String value1, String value2) {
            addCriterion("t_edate not between", value1, value2, "tEdate");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressIsNull() {
            addCriterion("t_meetaddress is null");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressIsNotNull() {
            addCriterion("t_meetaddress is not null");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressEqualTo(String value) {
            addCriterion("t_meetaddress =", value, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressNotEqualTo(String value) {
            addCriterion("t_meetaddress <>", value, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressGreaterThan(String value) {
            addCriterion("t_meetaddress >", value, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressGreaterThanOrEqualTo(String value) {
            addCriterion("t_meetaddress >=", value, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressLessThan(String value) {
            addCriterion("t_meetaddress <", value, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressLessThanOrEqualTo(String value) {
            addCriterion("t_meetaddress <=", value, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressLike(String value) {
            addCriterion("t_meetaddress like", value, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressNotLike(String value) {
            addCriterion("t_meetaddress not like", value, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressIn(List<String> values) {
            addCriterion("t_meetaddress in", values, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressNotIn(List<String> values) {
            addCriterion("t_meetaddress not in", values, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressBetween(String value1, String value2) {
            addCriterion("t_meetaddress between", value1, value2, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTMeetaddressNotBetween(String value1, String value2) {
            addCriterion("t_meetaddress not between", value1, value2, "tMeetaddress");
            return (Criteria) this;
        }

        public Criteria andTNumIsNull() {
            addCriterion("t_num is null");
            return (Criteria) this;
        }

        public Criteria andTNumIsNotNull() {
            addCriterion("t_num is not null");
            return (Criteria) this;
        }

        public Criteria andTNumEqualTo(Integer value) {
            addCriterion("t_num =", value, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumNotEqualTo(Integer value) {
            addCriterion("t_num <>", value, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumGreaterThan(Integer value) {
            addCriterion("t_num >", value, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("t_num >=", value, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumLessThan(Integer value) {
            addCriterion("t_num <", value, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumLessThanOrEqualTo(Integer value) {
            addCriterion("t_num <=", value, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumIn(List<Integer> values) {
            addCriterion("t_num in", values, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumNotIn(List<Integer> values) {
            addCriterion("t_num not in", values, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumBetween(Integer value1, Integer value2) {
            addCriterion("t_num between", value1, value2, "tNum");
            return (Criteria) this;
        }

        public Criteria andTNumNotBetween(Integer value1, Integer value2) {
            addCriterion("t_num not between", value1, value2, "tNum");
            return (Criteria) this;
        }

        public Criteria andTMeijinIsNull() {
            addCriterion("t_meijin is null");
            return (Criteria) this;
        }

        public Criteria andTMeijinIsNotNull() {
            addCriterion("t_meijin is not null");
            return (Criteria) this;
        }

        public Criteria andTMeijinEqualTo(Integer value) {
            addCriterion("t_meijin =", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinNotEqualTo(Integer value) {
            addCriterion("t_meijin <>", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinGreaterThan(Integer value) {
            addCriterion("t_meijin >", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinGreaterThanOrEqualTo(Integer value) {
            addCriterion("t_meijin >=", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinLessThan(Integer value) {
            addCriterion("t_meijin <", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinLessThanOrEqualTo(Integer value) {
            addCriterion("t_meijin <=", value, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinIn(List<Integer> values) {
            addCriterion("t_meijin in", values, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinNotIn(List<Integer> values) {
            addCriterion("t_meijin not in", values, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinBetween(Integer value1, Integer value2) {
            addCriterion("t_meijin between", value1, value2, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTMeijinNotBetween(Integer value1, Integer value2) {
            addCriterion("t_meijin not between", value1, value2, "tMeijin");
            return (Criteria) this;
        }

        public Criteria andTPingtaiIsNull() {
            addCriterion("t_pingtai is null");
            return (Criteria) this;
        }

        public Criteria andTPingtaiIsNotNull() {
            addCriterion("t_pingtai is not null");
            return (Criteria) this;
        }

        public Criteria andTPingtaiEqualTo(String value) {
            addCriterion("t_pingtai =", value, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiNotEqualTo(String value) {
            addCriterion("t_pingtai <>", value, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiGreaterThan(String value) {
            addCriterion("t_pingtai >", value, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiGreaterThanOrEqualTo(String value) {
            addCriterion("t_pingtai >=", value, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiLessThan(String value) {
            addCriterion("t_pingtai <", value, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiLessThanOrEqualTo(String value) {
            addCriterion("t_pingtai <=", value, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiLike(String value) {
            addCriterion("t_pingtai like", value, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiNotLike(String value) {
            addCriterion("t_pingtai not like", value, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiIn(List<String> values) {
            addCriterion("t_pingtai in", values, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiNotIn(List<String> values) {
            addCriterion("t_pingtai not in", values, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiBetween(String value1, String value2) {
            addCriterion("t_pingtai between", value1, value2, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTPingtaiNotBetween(String value1, String value2) {
            addCriterion("t_pingtai not between", value1, value2, "tPingtai");
            return (Criteria) this;
        }

        public Criteria andTStateIsNull() {
            addCriterion("t_state is null");
            return (Criteria) this;
        }

        public Criteria andTStateIsNotNull() {
            addCriterion("t_state is not null");
            return (Criteria) this;
        }

        public Criteria andTStateEqualTo(String value) {
            addCriterion("t_state =", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotEqualTo(String value) {
            addCriterion("t_state <>", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateGreaterThan(String value) {
            addCriterion("t_state >", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateGreaterThanOrEqualTo(String value) {
            addCriterion("t_state >=", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateLessThan(String value) {
            addCriterion("t_state <", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateLessThanOrEqualTo(String value) {
            addCriterion("t_state <=", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateLike(String value) {
            addCriterion("t_state like", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotLike(String value) {
            addCriterion("t_state not like", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateIn(List<String> values) {
            addCriterion("t_state in", values, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotIn(List<String> values) {
            addCriterion("t_state not in", values, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateBetween(String value1, String value2) {
            addCriterion("t_state between", value1, value2, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotBetween(String value1, String value2) {
            addCriterion("t_state not between", value1, value2, "tState");
            return (Criteria) this;
        }

        public Criteria andTTimeIsNull() {
            addCriterion("t_time is null");
            return (Criteria) this;
        }

        public Criteria andTTimeIsNotNull() {
            addCriterion("t_time is not null");
            return (Criteria) this;
        }

        public Criteria andTTimeEqualTo(Date value) {
            addCriterion("t_time =", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeNotEqualTo(Date value) {
            addCriterion("t_time <>", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeGreaterThan(Date value) {
            addCriterion("t_time >", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("t_time >=", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeLessThan(Date value) {
            addCriterion("t_time <", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeLessThanOrEqualTo(Date value) {
            addCriterion("t_time <=", value, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeIn(List<Date> values) {
            addCriterion("t_time in", values, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeNotIn(List<Date> values) {
            addCriterion("t_time not in", values, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeBetween(Date value1, Date value2) {
            addCriterion("t_time between", value1, value2, "tTime");
            return (Criteria) this;
        }

        public Criteria andTTimeNotBetween(Date value1, Date value2) {
            addCriterion("t_time not between", value1, value2, "tTime");
            return (Criteria) this;
        }

        public Criteria andTSexIsNull() {
            addCriterion("t_sex is null");
            return (Criteria) this;
        }

        public Criteria andTSexIsNotNull() {
            addCriterion("t_sex is not null");
            return (Criteria) this;
        }

        public Criteria andTSexEqualTo(String value) {
            addCriterion("t_sex =", value, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexNotEqualTo(String value) {
            addCriterion("t_sex <>", value, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexGreaterThan(String value) {
            addCriterion("t_sex >", value, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexGreaterThanOrEqualTo(String value) {
            addCriterion("t_sex >=", value, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexLessThan(String value) {
            addCriterion("t_sex <", value, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexLessThanOrEqualTo(String value) {
            addCriterion("t_sex <=", value, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexLike(String value) {
            addCriterion("t_sex like", value, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexNotLike(String value) {
            addCriterion("t_sex not like", value, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexIn(List<String> values) {
            addCriterion("t_sex in", values, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexNotIn(List<String> values) {
            addCriterion("t_sex not in", values, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexBetween(String value1, String value2) {
            addCriterion("t_sex between", value1, value2, "tSex");
            return (Criteria) this;
        }

        public Criteria andTSexNotBetween(String value1, String value2) {
            addCriterion("t_sex not between", value1, value2, "tSex");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}